%::PROVIDES=(
	name	=> ["SET_NODE_STATE"],
	desc	=> ["Sets other node status"],
	type	=> "request",
	code	=> \&::do_handle_setnodestate
);

sub ::do_handle_setnodestate {
my $args=shift;

	if(!exists($args->{STATE})) {
		logwarn("SET_NODE_STATE request missing STATE argument");
		return "ARG_MISSING";
	}

	$OTHER_NODE_STATE=$args->{STATE};
	return "OK";
}

1;
